CloseLastSession method   

Closes the last open session on the disc loaded in the drive. This operation cannot be cancelled. The method will return immediately. The return value indicates if the closing operation has begun. A WritingComplete  event will signify the completion of the operation.

Return Type

A Boolean value.

Syntax

object.CloseLastSession(CloseDisc As Boolean)

The CloseLastSession method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterXP.
CloseDiscBoolean